package com.usian.pojo;

import javax.persistence.Id;
import java.io.Serializable;

public class Function implements Serializable {

    @Id
    private Integer zid;

    private String zname;

    private Integer bid;



    public Integer getZid() {
        return zid;
    }

    public void setZid(Integer zid) {
        this.zid = zid;
    }

    public String getZname() {
        return zname;
    }

    public void setZname(String zname) {
        this.zname = zname;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    @Override
    public String toString() {
        return "Function{" +
                "zid=" + zid +
                ", zname='" + zname + '\'' +
                ", bid=" + bid +
                '}';
    }
}
